<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <!-- v-for循环-->

    <div id="app">
        <ul>
            <!-- <li v-for="value in object">
                {{value}}
            </li> -->

            <li v-for="(value,key,index) in object">
               {{index}}:{{key}}:{{value}}
            </li>
        </ul>
    </div>
    <script>
        // 创建Vue的对象
        let vm = new Vue({
            el:"#app",
            data:{
               object:{
                   firstName:'fender',
                   lastName:'Done',
                   age:30
               }
            }
        })
    </script>
</body>
</html>